<template>
  <div>
      <h1>用户信息</h1>
      <p>id: {{ $route.params.id }}</p>
      <p>name: {{ $route.params.name }}</p>
  </div>
</template>

<script>
export default {
    name: 'User'
}
</script>

<style>

</style>